package com.liao.badminton.mapper;

import com.liao.badminton.code.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.liao.badminton.entity.FileShard;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author liaocheng
* @date 2024-10-31
* description:文件
*/
@Mapper
public interface FileShardMapper extends BaseMapper<FileShard> {
    int updateBy(FileShard fileShard);
    int add(FileShard fileShard);
    List<FileShard> findByPageParam(PageParam<FileShard> fileShardPageParam);
    int countByPageParam(PageParam<FileShard> fileShardPageParam);
    int deletes(@Param("ids") List<Long> ids);
    List<FileShard> findByIds(@Param("ids") List<Long> ids);
    void addBatch(List<FileShard> list);
    FileShard findById(@Param("id") Long id);
    List<FileShard> findByParam(@Param("param") FileShard param);
}
